package com.houxiurong;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;

/**
 * @author houxiurong
 * @date 2019094-02
 */
@SpringBootApplication
public class SpringbootdemoApplication extends SpringBootServletInitializer {

    @Override
    public SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(SpringbootdemoApplication.class);
    }

    public static void main(String[] args) {
//		SpringApplication application=new SpringApplication(SpringbootdemoApplication.class);
//		application.setBannerMode(Banner.Mode.OFF);
//		application.run(args);
        SpringApplication.run(SpringbootdemoApplication.class, args);
    }
}
